package progetto6.jade;

public abstract class AbstractStrategy implements Strategy {

	private static final long serialVersionUID = -6293476279249369587L;
	protected int [] score = new int[2];
	
	protected Choice lastChoice;
	
	public abstract String toString();
	
	@Override
	public void esit(int value) {
		score[lastChoice.ordinal()] += value;
	}
	
	public int getScore(Choice c){
		return score[c.ordinal()];
	}
	
}
